﻿<h2>Edit domain</h2>

<%= error_messages_for :domain %>

<% form_for :domain, :url => { :action => :update_domain, :id => @domain} do |f| %>
<% #form_for(@domain) do |f| %>
 <p>
    <b>Domain adress</b><br />
    <%= f.text_field :fullDomain %>
  </p>
	<p>
    <b>Domain name</b><br />
    <%= f.text_field :domainName %>
  </p>
  <p>
    <b>note</b><br />
    <%= f.text_field :title %>
  </p>
		<%= f.hidden_field :table_id %>
  <p>
    <%= f.submit "Edit domain" %>
  </p>
<% end %>